<{include file="header.html"}>
<script type="text/javascript" src="<{$smarty.const.APPLICATION_URL}>/scripts/common.js"></script>
<script type="text/javascript">
	function validate()
	{
        var email = document.getElementById('txtemail');
        var name = document.getElementById('txtfullname');
        var phone = document.getElementById('txtphone');
        var des = document.getElementById('txtdes');
        
        if(name.value == ""){
            alert('<{$smarty.const._LB_NAME_IS_EMPTY|utf8_escape_js}>');
			return false;
        }
       
        
        if(email.value == ""){
            alert('<{$smarty.const._LB_EMAIL_IS_EMPTY|utf8_escape_js}>');
			return false;
        }
        
        if(!checkEmailAddress(email)){
            alert('<{$smarty.const._LB_INVALID_EMAIL|utf8_escape_js}>');
            return false;
        }
        if(phone.value == ""){
            alert('<{$smarty.const._LB_PHONE_IS_EMPTY|utf8_escape_js}>');
			return false;
        }
        
        if(des.value == ""){
            alert('<{$smarty.const._LB_CONTENT_IS_EMPTY|utf8_escape_js}>');
			return false;
        }
		document.frmContact.submit();
	}
</script>
<div id="wrapper_content" class="clearfix">
    <div id="columnLeft"> </div>
    <div id="columnMaintwoColumns">
        <div id="c1740" class="csc-default" style="margin-bottom:10px;"><div class="csc-header csc-header-n1">
            <h1 class="csc-firstHeader"><{$page->TITLE|utf8_escape_html}></h1>
            <p class="bodytext"><{$page->CONTENT}></p>
        </div>
        <form id="frmContact" name="frmContact" method="post" action="">
            <input type="hidden" name="actionContact" value="send"/>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                <td colspan="2" ><strong>E-mail us by filling out the form below :</strong></td>
                </tr>
                <tr >
                <td colspan="2"  style="padding-right: 20px;" align="right"><span class="powermail_mandatory">*</span> 
                    <{$smarty.const._LB_REQUIRE_INFORMATION|utf8_escape_html}></td>
                </tr>
                <tr>
                <td><{$smarty.const._LB_FULL_NAME|utf8_escape_html}></td>
                <td style="padding-bottom:3px"><input name="txtfullname" id="txtfullname" type="text" maxlength="100" size="30" class="textred" />
                    <span class="powermail_mandatory">*</span></td>
                </tr>
                <tr>
                <td><{$smarty.const._LB_EMAIL|utf8_escape_html}></td>
                <td style="padding-bottom:3px"><input name="txtemail" id="txtemail" type="text" maxlength="100" size="30" class="textred" />
                    <span class="powermail_mandatory">*</span></td>
                </tr>
                <tr>
                <td><{$smarty.const._LB_ADDRESS|utf8_escape_html}></td>
                <td style="padding-bottom:3px"><input name="txtaddress" id="txtaddress" type="text" maxlength="100" size="37" class="textred" /></td>
                </tr>
                <tr>
                <td><{$smarty.const._LB_PHONE|utf8_escape_html}></td>
                <td style="padding-bottom:3px"><input name="txtphone" id="txtphone" type="text" maxlength="100" size="15" class="textred" />
                    <span class="powermail_mandatory">*</span></td>
                </tr>
                <tr>
                <td ><{$smarty.const._LB_CONTENT|utf8_escape_html}></td>
                <td style="padding-bottom:3px"><textarea name="txtdes" id="txtdes" cols="30" rows="5"></textarea>
                    <span class="powermail_mandatory">*</span></td>
                </tr>
                <tr>
                <td colspan="2" height="10px">&nbsp;</td>
                </tr>
                <tr>
                <td><input name="action" type="hidden" value="sending" /></td>
                <td><input name="Send" type="button" onclick="validate()" title="Send" value="Send" class="button_border_black"  />
                    <input name="Cancel" class="button_border_black" onclick="javascript:location.href='{base_url}contact/'" title="Cancel" type="button" value="Cancel"  />
                </td>
                </tr>
            </table>
        </form>
    </div>
</div>
</div>
<{include file="footer.html"}>